/**
 * @CreateBy: zhaojun
 * @CreateTime: 2018-08-04
 * @Desc: 资源管理模块
 */
package com.atwork.dao;


import com.atwork.model.normal.SysResource;

import java.util.List;

public interface SysResourceDao {
    List<SysResource> getAllResource();

    int insertResource(SysResource record);

    SysResource getResourceById(Integer id);

    int updateResourceById(SysResource record);

    List<SysResource> getResourceTree();

}